package com.tianbao54.springboot.mybatis;

import com.tianbao54.springboot.mybatis.mapper.UserMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackageClasses = UserMapper.class)
public class MyBatisApp {

    public static void main(String[] args) {
        SpringApplication.run(MyBatisApp.class,args);
    }
}
